package com.h3c.nem.entity;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: SdFileOperLog
 *
 * @Author: l22886
 * @Date: 2022-01-19
 * Description: sd_file_oper_log 实体
 * Version: 1.0
 */
@ApiModel(value="SdFileOperLog对象", description="")
@Table(name = "sd_file_oper_log")
public class SdFileOperLog {


    @ApiModelProperty(value = "文件操作日志ID")
    @Column(name = "file_log_id")
    private String fileLogId;

    @ApiModelProperty(value = "系统ID")
    @Column(name = "app_id")
    private String appId;

    @ApiModelProperty(value = "操作人工号")
    @Column(name = "oper_user_id")
    private String operUserId;

    @ApiModelProperty(value = "操作人姓名")
    @Column(name = "oper_user_name")
    private String operUserName;

    @ApiModelProperty(value = "操作时间")
    @Column(name = "oper_time")
    private Date operTime;

    @ApiModelProperty(value = "操作IP")
    @Column(name = "oper_ip")
    private String operIp;

    @ApiModelProperty(value = "操作类型：IMPORT/EXPORT")
    @Column(name = "oper_type")
    private String operType;

    @ApiModelProperty(value = "操作文件名称（含扩展名）")
    @Column(name = "file_name")
    private String fileName;

    @ApiModelProperty(value = "文件大小（单位：byte）")
    @Column(name = "file_size")
    private BigDecimal fileSize;

    public String getFileLogId() {
        return fileLogId;
    }

    public void setFileLogId(String fileLogId) {
        this.fileLogId = fileLogId;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getOperUserId() {
        return operUserId;
    }

    public void setOperUserId(String operUserId) {
        this.operUserId = operUserId;
    }

    public String getOperUserName() {
        return operUserName;
    }

    public void setOperUserName(String operUserName) {
        this.operUserName = operUserName;
    }

    public Date getOperTime() {
        return operTime;
    }
    public void setOperTime(Date operTime) {
        this.operTime = operTime;
    }

    public String getOperIp() {
        return operIp;
    }

    public void setOperIp(String operIp) {
        this.operIp = operIp;
    }

    public String getOperType() {
        return operType;
    }

    public void setOperType(String operType) {
        this.operType = operType;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public BigDecimal getFileSize() {
        return fileSize;
    }

    public void setFileSize(BigDecimal fileSize) {
        this.fileSize = fileSize;
    }

    @Override
    public String toString() {
        return "SdFileOperLog{" +
                "fileLogId=" + fileLogId +
                ", operUserId=" + operUserId +
                ", operUserName=" + operUserName +
                ", operTime=" + operTime +
                ", operIp=" + operIp +
                ", operType=" + operType +
                ", fileName=" + fileName +
                ", fileSize=" + fileSize +
                "}";
    }
}
